-
Notifications
You must be signed in to change notification settings - Fork 13.1k
[FIX] Invalid filters on the Omnichannel Analytics page #19899
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FIX] Invalid filters on the Omnichannel Analytics page #19899
Conversation
- Fix layout not rendering properly - handle some edge cases for date select
rafaelblink
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything working well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@murtaza98 this is the design expected.
I'm still getting errors on server-side, BTW:
I20201221-18:35:31.564(-3)? Incorrect chart options
I20201221-18:35:31.571(-3)? livechat:getAnalyticsOverviewData => Invalid dates
I20201221-18:35:31.576(-3)? Incorrect analytics options
…hub.com/RocketChat/Rocket.Chat into omnichannel/fix-analytics-page-layout-1
|
@murtaza98 I'm still facing this inconsistency |
@renatobecker This bug hasn't been fixed yet. I wasn't able to determine the issue 😞 . I'll still need to do some more debugging specifically with mongo queries. |


Proposed changes (including videos or screenshots)
Issue(s)
Fix layout not rendering properly. Following was the layout which was getting rendered


BEFORE
AFTER
Handle some edge cases for date select

This Month, then it should set the end date to current date instead of the last date of the monthdate.toISOString(), under my timezone it was converting start of the month incorrectly. I expected it to be 1st December however it converts it to 30st November. Please have a look in the below consoleTo solve 🔝 error, I've converted the code to use
momentlibrary.Steps to test or reproduce
Further comments
Server version: In sync with latest develop branch